home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 4 / The Arsenal Files 4 (Arsenal Computer).ISO / userinst.bat < prev   
DOS Batch File  |  1995-06-01  |  13KB  |  217 lines

  1. @ECHO OFF
  2. IF "%1"=="" GOTO GETDRIVE
  3. IF "%2"=="" GOTO GETDRIVE
  4. GOTO GETSTART
  5. :GETDRIVE
  6. CLS
  7. ECHO.
  8. ECHO █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
  9. ECHO █              Arsenal Computer - Arsenal Files 4                    █
  10. ECHO █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  11. ECHO ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  12. ECHO █                                                                    █
  13. ECHO █      Please Specify Where your Hard Drive to Install to is,        █
  14. ECHO █      and what drive letter your CD-ROM Player is located at.       █
  15. ECHO █                                                                    █
  16. ECHO █      Please use the Following Format:                              █
  17. ECHO █                                                                    █
  18. ECHO █      USERINST C D                                                  █
  19. ECHO █                                                                    █
  20. ECHO █      If you want to install to your C: Drive, and your CD-ROM      █
  21. ECHO █      player being your D: Drive.  Please do NOT put in any         █
  22. ECHO █      colons after the drive letters.                               █
  23. ECHO █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  24. ECHO.
  25. ECHO.
  26. GOTO END
  27. :GETSTART
  28. CLS
  29. ECHO █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
  30. ECHO █  You Have indicated that your installation hard drive is %1:\;   █
  31. echo █  and that your CD-ROM Player is Located at %2:\;                 █
  32. echo █                                                                 █
  33. echo █  Is This Correct?   (Please Type Y or N                         █
  34. echo █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  35. echo.
  36. ASK -u
  37.  
  38. IF ERRORLEVEL = 90 GOTO END
  39. IF ERRORLEVEL = 89 GOTO DO_IT
  40. IF ERRORLEVEL = 0 GOTO END
  41.  
  42. :DO_IT
  43. CLS
  44. ECHO.
  45. ECHO.
  46. ECHO █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
  47. ECHO █  We are now going to create a batchfile that will allow you to  █
  48. ECHO █  access the Arsenal Files 4 CD-ROM disc easily.                 █
  49. ECHO █                                                                 █
  50. ECHO █  This Batchfile will be installed to the Root Directory of the  █
  51. ECHO █  %1: Drive.  If you do NOT wish this to occur, please indicate   █
  52. ECHO █  so now.  This Batchfile will take up less than 1k of your hard █
  53. ECHO █  drive space, so it will not significantly impact your hard     █
  54. ECHO █  drive storage.                                                 █
  55. ECHO █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  56. ECHO.
  57. ECHO.
  58. ASK -u Do You Wish to Create the Batchfile?
  59.        IF ERRORLEVEL = 90 GOTO END
  60.        IF ERRORLEVEL = 89 GOTO MAKEBAT
  61.        IF ERRORLEVEL = 0 GOTO END
  62.  
  63. :MAKEBAT
  64.  
  65. IF EXIST %1:\ARSENAL4.BAT DEL %1:\ARSENAL4.BAT
  66. %1
  67. MD %1:\ARSENAL4
  68. MD %1:\ACSDROP
  69. CD %1:\ARSENAL4
  70. COPY %2:\EZROM\*.* %1:\ARSENAL4\*.*
  71. IF EXIST %1:\ARSENAL4\EZROM.CFG DEL %1:\ARSENAL4\EZROM.CFG
  72. ECHO DiskName Arsenal Files 4                          >> %1:\ARSENAL4\EZROM.CFG
  73. ECHO HoldDir  %1:\ACSDROP                              >> %1:\ARSENAL4\EZROM.CFG
  74. ECHO CopyToMag ON                                      >> %1:\ARSENAL4\EZROM.CFG
  75. ECHO Log OFF                                           >> %1:\ARSENAL4\EZROM.CFG
  76. ECHO Style 1                                           >> %1:\ARSENAL4\EZROM.CFG
  77. ECHO Share ON                                          >> %1:\ARSENAL4\EZROM.CFG
  78. ECHO TimeOut 6000                                      >> %1:\ARSENAL4\EZROM.CFG
  79. ECHO Debug OFF                                         >> %1:\ARSENAL4\EZROM.CFG
  80. ECHO AllowLogOff ON                                    >> %1:\ARSENAL4\EZROM.CFG
  81. ECHO CheckSize ON                                      >> %1:\ARSENAL4\EZROM.CFG
  82. ECHO LinesPerPage 22                                   >> %1:\ARSENAL4\EZROM.CFG
  83. ECHO TagChar 26 -                                      >> %1:\ARSENAL4\EZROM.CFG
  84. ECHO Zone 1    Color 15    First 1    Last 12          >> %1:\ARSENAL4\EZROM.CFG
  85. ECHO Zone 2    Color 14    First 14   Last 22          >> %1:\ARSENAL4\EZROM.CFG
  86. ECHO Zone 3    Color 10    First 23   Last 32          >> %1:\ARSENAL4\EZROM.CFG
  87. ECHO Zone 4    Color 11    First 33   Last 78          >> %1:\ARSENAL4\EZROM.CFG
  88. ECHO DirectVideo ON                                    >> %1:\ARSENAL4\EZROM.CFG
  89. ECHO CheckSnow ON                                      >> %1:\ARSENAL4\EZROM.CFG
  90. ECHO BiosScroll ON                                     >> %1:\ARSENAL4\EZROM.CFG
  91. ECHO Areas                                             >> %1:\ARSENAL4\EZROM.CFG
  92. ECHO %2:\AEGIS            %2:\FILELIST\PCBOARD\AEGIS              >> %1:\ARSENAL4\EZROM.CFG
  93. ECHO %2:\ARCHIVE          %2:\FILELIST\PCBOARD\ARCHIVE            >> %1:\ARSENAL4\EZROM.CFG
  94. ECHO %2:\BBSLISTS         %2:\FILELIST\PCBOARD\BBSLISTS           >> %1:\ARSENAL4\EZROM.CFG
  95. ECHO %2:\BUSINESS         %2:\FILELIST\PCBOARD\BUSINESS           >> %1:\ARSENAL4\EZROM.CFG
  96. ECHO %2:\CASM             %2:\FILELIST\PCBOARD\CASM               >> %1:\ARSENAL4\EZROM.CFG
  97. ECHO %2:\CD_ROM           %2:\FILELIST\PCBOARD\CD_ROM             >> %1:\ARSENAL4\EZROM.CFG
  98. ECHO %2:\CLARION          %2:\FILELIST\PCBOARD\CLARION            >> %1:\ARSENAL4\EZROM.CFG
  99. ECHO %2:\CLIPPER          %2:\FILELIST\PCBOARD\CLIPPER            >> %1:\ARSENAL4\EZROM.CFG
  100. ECHO %2:\CRAFTING         %2:\FILELIST\PCBOARD\CRAFTING           >> %1:\ARSENAL4\EZROM.CFG
  101. ECHO %2:\DIAGNOST         %2:\FILELIST\PCBOARD\DIAGNOST           >> %1:\ARSENAL4\EZROM.CFG
  102. ECHO %2:\DOOM             %2:\FILELIST\PCBOARD\DOOM               >> %1:\ARSENAL4\EZROM.CFG
  103. ECHO %2:\DOORS            %2:\FILELIST\PCBOARD\DOORS              >> %1:\ARSENAL4\EZROM.CFG
  104. ECHO %2:\DOSMENU          %2:\FILELIST\PCBOARD\DOSMENU            >> %1:\ARSENAL4\EZROM.CFG
  105. ECHO %2:\DOSUTIL          %2:\FILELIST\PCBOARD\DOSUTIL            >> %1:\ARSENAL4\EZROM.CFG
  106. ECHO %2:\DTP              %2:\FILELIST\PCBOARD\DTP                >> %1:\ARSENAL4\EZROM.CFG
  107. ECHO %2:\EDUCATIO         %2:\FILELIST\PCBOARD\EDUCATIO           >> %1:\ARSENAL4\EZROM.CFG
  108. ECHO %2:\EPUB             %2:\FILELIST\PCBOARD\EPUB               >> %1:\ARSENAL4\EZROM.CFG
  109. ECHO %2:\FAQ_INFO         %2:\FILELIST\PCBOARD\FAQ_INFO           >> %1:\ARSENAL4\EZROM.CFG
  110. ECHO %2:\FILEUTIL         %2:\FILELIST\PCBOARD\FILEUTIL           >> %1:\ARSENAL4\EZROM.CFG
  111. ECHO %2:\GAMES            %2:\FILELIST\PCBOARD\GAMES              >> %1:\ARSENAL4\EZROM.CFG
  112. ECHO %2:\GENEALOG         %2:\FILELIST\PCBOARD\GENEALOG           >> %1:\ARSENAL4\EZROM.CFG
  113. ECHO %2:\GEN_BBS          %2:\FILELIST\PCBOARD\GEN_BBS            >> %1:\ARSENAL4\EZROM.CFG
  114. ECHO %2:\GEN_PROG         %2:\FILELIST\PCBOARD\GEN_PROG           >> %1:\ARSENAL4\EZROM.CFG
  115. ECHO %2:\GOVWATCH         %2:\FILELIST\PCBOARD\GOVWATCH           >> %1:\ARSENAL4\EZROM.CFG
  116. ECHO %2:\HAM              %2:\FILELIST\PCBOARD\HAM                >> %1:\ARSENAL4\EZROM.CFG
  117. ECHO %2:\HEALTH           %2:\FILELIST\PCBOARD\HEALTH             >> %1:\ARSENAL4\EZROM.CFG
  118. ECHO %2:\HERETIC          %2:\FILELIST\PCBOARD\HERETIC            >> %1:\ARSENAL4\EZROM.CFG
  119. ECHO %2:\HINTS            %2:\FILELIST\PCBOARD\HINTS              >> %1:\ARSENAL4\EZROM.CFG
  120. ECHO %2:\IMAGEMAN         %2:\FILELIST\PCBOARD\IMAGEMAN           >> %1:\ARSENAL4\EZROM.CFG
  121. ECHO %2:\INTERNET         %2:\FILELIST\PCBOARD\INTERNET           >> %1:\ARSENAL4\EZROM.CFG
  122. ECHO %2:\LAN              %2:\FILELIST\PCBOARD\LAN                >> %1:\ARSENAL4\EZROM.CFG
  123. ECHO %2:\MATHSCI          %2:\FILELIST\PCBOARD\MATHSCI            >> %1:\ARSENAL4\EZROM.CFG
  124. ECHO %2:\MAXIMUS          %2:\FILELIST\PCBOARD\MAXIMUS            >> %1:\ARSENAL4\EZROM.CFG
  125. ECHO %2:\MISC             %2:\FILELIST\PCBOARD\MISC               >> %1:\ARSENAL4\EZROM.CFG
  126. ECHO %2:\MULTIMED         %2:\FILELIST\PCBOARD\MULTIMED           >> %1:\ARSENAL4\EZROM.CFG
  127. ECHO %2:\NETMAIL          %2:\FILELIST\PCBOARD\NETMAIL            >> %1:\ARSENAL4\EZROM.CFG
  128. ECHO %2:\NET_INFO         %2:\FILELIST\PCBOARD\NET_INFO           >> %1:\ARSENAL4\EZROM.CFG
  129. ECHO %2:\OFFLINE          %2:\FILELIST\PCBOARD\OFFLINE            >> %1:\ARSENAL4\EZROM.CFG
  130. ECHO %2:\PASCAL           %2:\FILELIST\PCBOARD\PASCAL             >> %1:\ARSENAL4\EZROM.CFG
  131. ECHO %2:\PCBOARD          %2:\FILELIST\PCBOARD\PCBOARD            >> %1:\ARSENAL4\EZROM.CFG
  132. ECHO %2:\PROBOARD         %2:\FILELIST\PCBOARD\PROBOARD           >> %1:\ARSENAL4\EZROM.CFG
  133. ECHO %2:\QBASIC           %2:\FILELIST\PCBOARD\QBASIC             >> %1:\ARSENAL4\EZROM.CFG
  134. ECHO %2:\RA_QBBS          %2:\FILELIST\PCBOARD\RA_QBBS            >> %1:\ARSENAL4\EZROM.CFG
  135. ECHO %2:\RBBS             %2:\FILELIST\PCBOARD\RBBS               >> %1:\ARSENAL4\EZROM.CFG
  136. ECHO %2:\SECURITY         %2:\FILELIST\PCBOARD\SECURITY           >> %1:\ARSENAL4\EZROM.CFG
  137. ECHO %2:\SOUNDS           %2:\FILELIST\PCBOARD\SOUNDS             >> %1:\ARSENAL4\EZROM.CFG
  138. ECHO %2:\SPIRIT           %2:\FILELIST\PCBOARD\SPIRIT             >> %1:\ARSENAL4\EZROM.CFG
  139. ECHO %2:\SPITFIRE         %2:\FILELIST\PCBOARD\SPITFIRE           >> %1:\ARSENAL4\EZROM.CFG
  140. ECHO %2:\SYNCHRON         %2:\FILELIST\PCBOARD\SYNCHRON           >> %1:\ARSENAL4\EZROM.CFG
  141. ECHO %2:\TBBS             %2:\FILELIST\PCBOARD\TBBS               >> %1:\ARSENAL4\EZROM.CFG
  142. ECHO %2:\TELECOMM         %2:\FILELIST\PCBOARD\TELECOMM           >> %1:\ARSENAL4\EZROM.CFG
  143. ECHO %2:\TEXTEDIT         %2:\FILELIST\PCBOARD\TEXTEDIT           >> %1:\ARSENAL4\EZROM.CFG
  144. ECHO %2:\TRIBBS           %2:\FILELIST\PCBOARD\TRIBBS             >> %1:\ARSENAL4\EZROM.CFG
  145. ECHO %2:\VBASIC           %2:\FILELIST\PCBOARD\VBASIC             >> %1:\ARSENAL4\EZROM.CFG
  146. ECHO %2:\WILDCAT          %2:\FILELIST\PCBOARD\WILDCAT            >> %1:\ARSENAL4\EZROM.CFG
  147. ECHO %2:\WINDOWS          %2:\FILELIST\PCBOARD\WINDOWS            >> %1:\ARSENAL4\EZROM.CFG
  148. ECHO %2:\XBASE            %2:\FILELIST\PCBOARD\XBASE              >> %1:\ARSENAL4\EZROM.CFG
  149. ECHO Areas                                             >> %1:\ARSENAL4\EZROM.CFG
  150. ECHO ;                                                 >> %1:\ARSENAL4\EZROM.CFG
  151. ECHO ;                                                 >> %1:\ARSENAL4\EZROM.CFG
  152.  
  153. CD \
  154. ECHO @ECHO OFF                                         >> %1:\ARSENAL4.BAT
  155. ECHO %1:                                               >> %1:\ARSENAL4.BAT
  156. ECHO CD %1:\ARSENAL4                                   >> %1:\ARSENAL4.BAT
  157. ECHO EZROM LOCAL                                       >> %1:\ARSENAL4.BAT
  158. ECHO CD %1:\ACSDROP                                    >> %1:\ARSENAL4.BAT
  159. ECHO CLS                                               >> %1:\ARSENAL4.BAT
  160. ECHO TYPE FILES.BBS | MORE                             >> %1:\ARSENAL4.BAT
  161. ECHO PAUSE                                             >> %1:\ARSENAL4.BAT
  162. ECHO DIR /W                                            >> %1:\ARSENAL4.BAT
  163. ECHO ECHO.                                             >> %1:\ARSENAL4.BAT
  164. ECHO ECHO █████ Here are Your CD-ROM Files             >> %1:\ARSENAL4.BAT
  165. ECHO ECHO █████ Complements of Arsenal Computer        >> %1:\ARSENAL4.BAT
  166. ECHO ECHO █████                                        >> %1:\ARSENAL4.BAT
  167. ECHO ECHO █████ Please Remember to Support Shareware!  >> %1:\ARSENAL4.BAT
  168. ECHO ECHO.                                             >> %1:\ARSENAL4.BAT
  169.  
  170. CLS
  171. ECHO.
  172. ECHO.
  173. ECHO █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
  174. ECHO █   You will now be asked if you wish to print the Arsenal Files 4    █
  175. ECHO █   registration form.  This form will enable you to receive          █
  176. ECHO █   information about any upgrades and new products.                  █
  177. ECHO █                                                                     █
  178. ECHO █   We strongly recommend that you print and mail in this form,       █
  179. ECHO █   as it makes our job of serving you with the Best in CD-ROM discs  █
  180. ECHO █   that much easier.                                                 █
  181. ECHO █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  182. ECHO.
  183. ECHO Do You Wish to Print This Form?
  184. ECHO.
  185. ASK -u
  186. IF ERRORLEVEL = 90 GOTO LONGWIND
  187. IF ERRORLEVEL = 89 GOTO PRINTEM
  188. IF ERRORLEVEL = 0 GOTO LONGWIND
  189.  
  190. :PRINTEM
  191. PRINT REGISTER.ACS
  192.  
  193. :LONGWIND
  194.  
  195. CLS
  196. ECHO.
  197. ECHO.
  198. ECHO █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
  199. ECHO █      The Batchfile ARSENAL4 is now ready for your useage.        █
  200. ECHO █                                                                  █
  201. ECHO █      When you are ready to begin, log to your %1:\ Drive          █
  202. ECHO █      and type                                                    █
  203. ECHO █                                                                  █
  204. ECHO █      ARSENAL4                                                    █
  205. ECHO █                                                                  █
  206. ECHO █      Please note that you will either need to have the %1:\       █
  207. ECHO █      directory in your PATH, or else you will need to be         █
  208. ECHO █      physically logged into the root directory.                  █
  209. ECHO █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  210. ECHO.
  211. ECHO ░▒▓█ Your Path Statement is:
  212. ECHO.
  213. PATH
  214. ECHO.
  215.  
  216. :END
  217.